package com.ds.lens.data.common.query;

public class IntervalTimestampVariable implements MQLVariable {
    private static final IntervalTimestampVariable INSTANCE = new IntervalTimestampVariable();
    private String value;
    private IntervalTimestampVariable(){}

    public IntervalTimestampVariable(String value) {
        this.value = "'" + value + "'";
    }
    @Override
    public String getText() {
        return "${interval_timestamp}";
    }

    @Override
    public String getValue() {
        return value;
    }

    public static IntervalTimestampVariable get() {
        return INSTANCE;
    }
}
